package com.gasstion.entity;


public class Goods {

  private int id;
  private String name;
  private int typeId;
  private String goodsIcon;
  private String unit;
  private double purchasePrice;
  private double price;
  private int supplierId;
  private String specifications;
  private int state;
  private int warehouseId;
  private String detial;
  private Supplier supplier;
  private double inventory;
  private Warehouse warehouse;

  public double getInventory() {
    return inventory;
  }

  public void setInventory(double inventory) {
    this.inventory = inventory;
  }

  public Supplier getSupplier() {
    return supplier;
  }

  public void setSupplier(Supplier supplier) {
    this.supplier = supplier;
  }

  public Warehouse getWarehouse() {
    return warehouse;
  }

  public void setWarehouse(Warehouse warehouse) {
    this.warehouse = warehouse;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public int getTypeId() {
    return typeId;
  }

  public void setTypeId(int typeId) {
    this.typeId = typeId;
  }


  public String getGoodsIcon() {
    return goodsIcon;
  }

  public void setGoodsIcon(String goodsIcon) {
    this.goodsIcon = goodsIcon;
  }


  public String getUnit() {
    return unit;
  }

  public void setUnit(String unit) {
    this.unit = unit;
  }


  public double getPurchasePrice() {
    return purchasePrice;
  }

  public void setPurchasePrice(double purchasePrice) {
    this.purchasePrice = purchasePrice;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public int getSupplierId() {
    return supplierId;
  }

  public void setSupplierId(int supplierId) {
    this.supplierId = supplierId;
  }


  public String getSpecifications() {
    return specifications;
  }

  public void setSpecifications(String specifications) {
    this.specifications = specifications;
  }


  public int getState() {
    return state;
  }

  public void setState(int state) {
    this.state = state;
  }


  public int getWarehouseId() {
    return warehouseId;
  }

  public void setWarehouseId(int warehouseId) {
    this.warehouseId = warehouseId;
  }


  public String getDetial() {
    return detial;
  }

  public void setDetial(String detial) {
    this.detial = detial;
  }

}
